import unittest
from WordStatistics import readVerb, wordFile, charFile, phraseFile, processWord, allFile, nowFile


class MyTestCase(unittest.TestCase):

    def test_wordFile(self):
        wordFile("..\\WFtest\\test\\test.txt")

    def test_charFile(self):
        charFile("..\\WFtest\\test\\test.txt")

    def test_phraseFile(self):
        phrase_all = phraseFile("..\\WFtest\\test\\test.txt")
        print(phrase_all)

    def test_allFile(self):
        allFile("..\\WFtest")

    def test_nowFile(self):
        nowFile("..\\WFtest")


if __name__ == '__main__':
    unittest.main()
